/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.OrdersDetail;

/**
 * 订单详情DAO接口
 * @author yangs
 * @version 2017-09-18
 */
@MyBatisDao
public interface OrdersDetailDao extends CrudDao<OrdersDetail> {

	List<OrdersDetail> selectByOrderCode(String code);
	
	void batchInsert(@Param(value="list")List<OrdersDetail> list);
	
	List<OrdersDetail> findListByOrdersChangeCode(OrdersDetail ordersDetail);

	List<OrdersDetail> selectByGoodsComboCode(String code);
	
	List<Map<String,Object>> findAll(OrdersDetail ordersDetail);
	
	List<Map<String,Object>> findAllCombo(OrdersDetail ordersDetail);
	
}